#ifndef FilterSphere_h
#define FilterSphere_h

#include "Filter.h"

class FilterSphere : public Filter {
	public:
		FilterSphere(double support);
		~FilterSphere();
		
		double getSupport() const { return 1.0; }
		double getSupportArea() const { return 1.0; }
		double getWeight(double x, double y, int num_samples) const;
		void getWeights(double* weights, int samples, double* xs, double* ys) const;

	private:
		double min_x_coord;	
		double min_y_coord;
		double max_x_coord;
		double max_y_coord;
		double max_distance;
};

#endif